package com.qf.data.redenvlopes.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qf.commons.base.entity.BaseEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 红包明细表(RedEnvlopesDesc)表实体类
 *
 * @author makejava
 * @since 2022-12-03 14:42:13
 */
@Data
@Accessors(chain = true)
public class RedEnvlopesDesc extends BaseEntity implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;
    //红包id
    private Long rid;
    //抢红包的人的id
    private Long uid;
    //抢到的积分数
    private Integer score;
    //0 - 抢红包 1 - 红包回退
    private Integer type;
}

